package com.tang.k.wechatmessage.application.NewsList.view;

import com.tang.k.wechatmessage.application.NewsList.modle.INews;

import java.util.List;

public interface IArtivityView {
    //接收P传递来的数据,用来更新数据
    void onReceivedData(List<INews> list);

    //改变swipeRefreshLayout的刷新状态
    void onRefreshStateChanged(boolean isRefreshing);

    //获取当前swipeRefreshLayout的刷新状态
    boolean getSwipeState();

    //刷新失败时的回调
    void onRefreshFailure();
}
